home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / mm-0.90 / help / TOPICS.DIR / TOP.DIR / command-history.HLP < prev    next >
Encoding:
Text File  |  1990-12-18  |  1.9 KB  |  44 lines

  1. COMMAND HISTORY
  2.  
  3. MM remembers commands you have given during the current session, and you 
  4. can use the "history" to avoid retyping the same commands.  
  5.  
  6. ^P  Go back to the previous command    ^N  Go forward to the next command 
  7.  
  8. Usually you can just use ^P (control-p) until you reach the desired
  9. command, but ^N lets you come forward in case you pass it.
  10.  
  11. Example:
  12.     MM>h from howie    #Suppose this shows 6 messages, and you think 
  13.             #message 4 may be the one you want to read.
  14.     MM>r 4              #You see message 4, but it's not the right one, 
  15.             #so you want to look at the headers again.
  16.     MM>                 #Use ^P twice.  The second command back was "h from
  17.                         #howie", so just press RETURN when you get to it.
  18.  
  19.   The point is to type ^P^P, two strokes, rather than "h from howie", 13
  20.   strokes.  Another point is that you might have forgotten exactly what
  21.   command you typed, if it was lengthy.
  22.   
  23. Another use of command history is to avoid retyping when two commands
  24. are similar.  In that case, combine use of command history with command
  25. line editing.  See the example below.
  26.  
  27. A related feature is that the last message-sequence you used is stored as 
  28. "previous-sequence", which can be typed as "pr" or even "p".  If you need 
  29. to go back to an earlier message-sequence, use command history.
  30.  
  31. Example: Suppose you give two HEADERS commands in a row:
  32.     MM>h from fuat on mon
  33.     MM>h text macintosh
  34.   Then, to read the set of messages with "macintosh" in the text, the easiest
  35.   way is to use previous-sequence:
  36.     MM>r pr
  37.   However, to read the set from Fuat on Monday, the alternative to retyping
  38.   is to use command history and edit the command line:
  39.     MM>h from fuat on mon    #Use ^P three times to get back to this, and
  40.     MM>r from fuat on mon    #then use ^A, ^D, type "r" and RETURN.
  41.  
  42. For more help, type "help" and one of the following:
  43.   command-line-edit   message-sequence
  44.